package dao;

import java.util.ArrayList;

public interface UserDao
{		//201721123085 黄靖涛
    public void Insert(User user) throws Exception;	//增
    public void Delete(int id) throws Exception;	//删
    public void Update(User user) throws Exception;	//改
    public User QuerryById(int id) throws Exception;	//查
    public boolean Login(String username,String password) throws Exception; //登录
    public User QuerryByUsername(String username) throws Exception;  //根据用户名查询
}